package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.math.BigDecimal;
import java.util.Date;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.EmpSocItemExample.E_AMOUNT_COMPANY;
import static org.jsola.hr.example.EmpSocItemExample.E_AMOUNT_PERSONAL;
import static org.jsola.hr.example.EmpSocItemExample.E_CARDINALITY_DEFAULT;
import static org.jsola.hr.example.EmpSocItemExample.E_CARDINALITY_MAX;
import static org.jsola.hr.example.EmpSocItemExample.E_CARDINALITY_MIN;
import static org.jsola.hr.example.EmpSocItemExample.E_EMP_SOC_ID;
import static org.jsola.hr.example.EmpSocItemExample.E_ITEM_NAME;
import static org.jsola.hr.example.EmpSocItemExample.E_ITEM_REMARK;
import static org.jsola.hr.example.EmpSocItemExample.E_ITEM_TYPE;
import static org.jsola.hr.example.EmpSocItemExample.E_MANTISSA_PROC_COMPANY;
import static org.jsola.hr.example.EmpSocItemExample.E_MANTISSA_PROC_PERSONAL;
import static org.jsola.hr.example.EmpSocItemExample.E_PERSENT_COMPANY;
import static org.jsola.hr.example.EmpSocItemExample.E_PERSENT_PERSONAL;
import static org.jsola.hr.example.EmpSocItemExample.E_SORT;
import static org.jsola.hr.example.EmpSocItemExample.N_AMOUNT_COMPANY;
import static org.jsola.hr.example.EmpSocItemExample.N_AMOUNT_PERSONAL;
import static org.jsola.hr.example.EmpSocItemExample.N_CARDINALITY_DEFAULT;
import static org.jsola.hr.example.EmpSocItemExample.N_CARDINALITY_MAX;
import static org.jsola.hr.example.EmpSocItemExample.N_CARDINALITY_MIN;
import static org.jsola.hr.example.EmpSocItemExample.N_EMP_SOC_ID;
import static org.jsola.hr.example.EmpSocItemExample.N_ITEM_NAME;
import static org.jsola.hr.example.EmpSocItemExample.N_ITEM_REMARK;
import static org.jsola.hr.example.EmpSocItemExample.N_ITEM_TYPE;
import static org.jsola.hr.example.EmpSocItemExample.N_MANTISSA_PROC_COMPANY;
import static org.jsola.hr.example.EmpSocItemExample.N_MANTISSA_PROC_PERSONAL;
import static org.jsola.hr.example.EmpSocItemExample.N_PERSENT_COMPANY;
import static org.jsola.hr.example.EmpSocItemExample.N_PERSENT_PERSONAL;
import static org.jsola.hr.example.EmpSocItemExample.N_SORT;

/**
 * 员工参保信息表子项
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【员工参保信息表子项】详情展示对象")
@Data
public class EmpSocItemVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_EMP_SOC_ID, example = E_EMP_SOC_ID)
    private String empSocId;

    @ApiModelProperty(notes = N_ITEM_TYPE, example = E_ITEM_TYPE)
    private Integer itemType;

    @ApiModelProperty(notes = N_ITEM_NAME, example = E_ITEM_NAME)
    private String itemName;

    @ApiModelProperty(notes = N_CARDINALITY_DEFAULT, example = E_CARDINALITY_DEFAULT)
    private BigDecimal cardinalityDefault;

    @ApiModelProperty(notes = N_CARDINALITY_MIN, example = E_CARDINALITY_MIN)
    private BigDecimal cardinalityMin;

    @ApiModelProperty(notes = N_CARDINALITY_MAX, example = E_CARDINALITY_MAX)
    private BigDecimal cardinalityMax;

    @ApiModelProperty(notes = N_PERSENT_COMPANY, example = E_PERSENT_COMPANY)
    private BigDecimal persentCompany;

    @ApiModelProperty(notes = N_PERSENT_PERSONAL, example = E_PERSENT_PERSONAL)
    private BigDecimal persentPersonal;

    @ApiModelProperty(notes = N_AMOUNT_COMPANY, example = E_AMOUNT_COMPANY)
    private BigDecimal amountCompany;

    @ApiModelProperty(notes = N_AMOUNT_PERSONAL, example = E_AMOUNT_PERSONAL)
    private BigDecimal amountPersonal;

    @ApiModelProperty(notes = N_MANTISSA_PROC_COMPANY, example = E_MANTISSA_PROC_COMPANY)
    private Integer mantissaProcCompany;

    @ApiModelProperty(notes = N_MANTISSA_PROC_PERSONAL, example = E_MANTISSA_PROC_PERSONAL)
    private Integer mantissaProcPersonal;

    @ApiModelProperty(notes = N_SORT, example = E_SORT)
    private Integer sort;

    @ApiModelProperty(notes = N_ITEM_REMARK, example = E_ITEM_REMARK)
    private String itemRemark;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;

    @ApiModelProperty(notes = "身份证号")
    private String idCard;

    @ApiModelProperty(notes = "员工姓名")
    private String empName;

    @ApiModelProperty(notes = "员工Id")
    private String empId;
}

